package adapter;

/**
 * 绿头鸭
 */
public class MallardDuck implements Duck {
    @Override
    public void quack() {
        System.out.println("嘎嘎叫.");
    }

    @Override
    public void fly() {
        System.out.println("起飞...");
    }
}
